import 'mint-ui/lib/style.css';
import Vue from "vue"
import VueRouter from 'vue-router'
import configRouter from './config/routes.js'
import Mint from 'mint-ui'
import App from "./app.vue"
import store from './store'

Vue.use(VueRouter)
Vue.use(Mint)

require('./style/reset.pcss')
require('./style/index.pcss')
// require('./style/iconfont/iconfont.css')

require('./config/component-register')

let router = new VueRouter({
  mode: 'hash',
  base: __dirname,
  linkActiveClass: 'active',
  routes: configRouter
});

new Vue({
  el: "#app",
  store,
  router: router,
  render: h => h(App)
})